package com.ruoyi.sgs.domain;

import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;

/**
 * 武将对象 sgs_hero
 * 
 * @author ruoyi
 * @date 2025-02-24
 */
public class SgsHero extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 武将名称 */
    @Excel(name = "武将名称")
    private String hero;

    /** 价格 */
    @Excel(name = "武将价格")
    private BigDecimal price;

    /** 价格 */
    @Excel(name = "皮肤价格")
    private BigDecimal cloPrice;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    /** 势力 */
    @Excel(name = "势力")
    private String area;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setHero(String hero) 
    {
        this.hero = hero;
    }

    public String getHero() 
    {
        return hero;
    }
    public void setPrice(BigDecimal price) 
    {
        this.price = price;
    }

    public BigDecimal getPrice() 
    {
        return price;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }
    public void setArea(String area) 
    {
        this.area = area;
    }

    public String getArea() 
    {
        return area;
    }

    public BigDecimal getCloPrice() {
        return cloPrice;
    }

    public void setCloPrice(BigDecimal cloPrice) {
        this.cloPrice = cloPrice;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("hero", getHero())
            .append("price", getPrice())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("area", getArea())
            .toString();
    }
}
